<?php

namespace YouBaoLian\Application\Response;

use YouBaoLian\Http\Response;

class VehicleModelResponse extends Response
{

    /**
     * 车型列表
     * @var array $modelList
     */
    private $modelList = [];


    public function build(): Response
    {
        parent::build();
        $this->modelList = $this->getBizContent('data', []);

        return $this;
    }

    /**
     * @return array
     */
    public function getModelList(): array
    {
        return $this->modelList;
    }
}
